﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ch11CardLib;

namespace Ch11CardClient
{
    class Program
    {
        static void Main(string[] args)
        {
            //Deck myDeck = new Deck();
            //myDeck.Shuffle();
            //for (int i = 0; i < 52;i++ )
            //{
            //    Card tempCard = myDeck.GetCard(i);
            //    Console.Write(tempCard.ToString());
            //    if (i != 51) Console.Write("\n");
            //    else
            //        Console.WriteLine();

            //}
            Deck deck1 = new Deck();
            Deck deck2 = (Deck)deck1.Clone();
            Console.WriteLine("deck1[0] {0}:deck2[0]{1}",deck1.GetCard(0),deck2.GetCard(0));
            deck1.Shuffle();
            Console.WriteLine("deck1[0] {0}:deck2[0]{1}", deck1.GetCard(0), deck2.GetCard(0));
            Console.ReadKey();
        }
    }
}
